﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Activation;
using System.Text;
using GNSCore.Model;
using GNSCore.Services.Contracts;
using ThirdServices.AlertModel.Factory.Entities.DTO;
using GNSCore.Helpers;
using System.ServiceModel;

namespace GNSCore.Services
{
    [ServiceBehavior(AddressFilterMode = AddressFilterMode.Any)]
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]
    public class GlobalAlertsService : IGlobalAlertsService
    {
        #region IGlobalAlertsService Members

        public List<BaseAlert> GetAlerts(string username)
        {
            return VerificationHelper.GetAlertsForUser(username);
        }
        #endregion
    }
}
